package com.ems.pojo.data;

import java.util.Map;

/**
 * @Auther: 伟伟
 * @Date: 2019/10/7
 * @Description: 描述
 * @Version: 1.0
 */
public class RequestData {
    private int pageSize;
    private int pageNum;
    private Map map;

    public RequestData() {
    }

    public RequestData(int pageSize, int pageNum) {
        this.pageSize = pageSize;
        this.pageNum = pageNum;
    }

    public RequestData(int pageSize, int pageNum, Map<String, Object> map) {
        this.pageSize = pageSize;
        this.pageNum = pageNum;
        this.map = map;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public Map getMap() {
        return map;
    }

    public void setMap(Map map) {
        this.map = map;
    }

    @Override
    public String toString() {
        return "RequestData{" +
                "pageSize=" + pageSize +
                ", pageNum=" + pageNum +
                ", map=" + map +
                '}';
    }
}
